<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="authorizedbuyersmarketplace_v1.html">Authorized Buyers Marketplace API</a> . <a href="authorizedbuyersmarketplace_v1.bidders.html">bidders</a> . <a href="authorizedbuyersmarketplace_v1.bidders.auctionPackages.html">auctionPackages</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">List the auction packages. Buyers can use the URL path "/v1/buyers/{accountId}/auctionPackages" to list auction packages for the current buyer and its clients. Bidders can use the URL path "/v1/bidders/{accountId}/auctionPackages" to list auction packages for the bidder, its media planners, its buyers, and all their clients.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
  <pre>List the auction packages. Buyers can use the URL path &quot;/v1/buyers/{accountId}/auctionPackages&quot; to list auction packages for the current buyer and its clients. Bidders can use the URL path &quot;/v1/bidders/{accountId}/auctionPackages&quot; to list auction packages for the bidder, its media planners, its buyers, and all their clients.

Args:
  parent: string, Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}`. When used with a bidder account, the auction packages that the bidder, its media planners, its buyers and clients are subscribed to will be listed, in the format `bidders/{accountId}`. (required)
  filter: string, Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns for filtering are: * displayName * createTime * updateTime * eligibleSeatIds
  orderBy: string, Optional. An optional query string to sort auction packages using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Only supported when parent is bidder. Supported columns for sorting are: * displayName * createTime * updateTime
  pageSize: integer, Requested page size. The server may return fewer results than requested. Max allowed page size is 500.
  pageToken: string, The page token as returned. ListAuctionPackagesResponse.nextPageToken
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for listing auction packages.
  &quot;auctionPackages&quot;: [ # The list of auction packages.
    { # Defines a segment of inventory that buyer wants to buy. It&#x27;s created by buyer and could be shared with multiple buyers.
      &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the auction package was created.
      &quot;creator&quot;: &quot;A String&quot;, # Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}`
      &quot;dealOwnerSeatId&quot;: &quot;A String&quot;, # Output only. If set, this field contains the DSP specific seat id set by the media planner account that is considered the owner of this deal. The seat ID is in the calling DSP&#x27;s namespace.
      &quot;description&quot;: &quot;A String&quot;, # Output only. A description of the auction package.
      &quot;displayName&quot;: &quot;A String&quot;, # The display_name assigned to the auction package.
      &quot;eligibleSeatIds&quot;: [ # Output only. If set, this field identifies a seat that the media planner selected as the owner of this auction package. This is a seat ID in the DSP&#x27;s namespace that was provided to the media planner.
        &quot;A String&quot;,
      ],
      &quot;name&quot;: &quot;A String&quot;, # Immutable. The unique identifier for the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` The auction_package_id part of name is sent in the BidRequest to all RTB bidders and is returned as deal_id by the bidder in the BidResponse.
      &quot;subscribedBuyers&quot;: [ # Output only. The list of buyers that are subscribed to the AuctionPackage. This field is only populated when calling as a bidder. Format: `buyers/{buyerAccountId}`
        &quot;A String&quot;,
      ],
      &quot;subscribedClients&quot;: [ # Output only. When calling as a buyer, the list of clients of the current buyer that are subscribed to the AuctionPackage. When calling as a bidder, the list of clients that are subscribed to the AuctionPackage owned by the bidder or its buyers. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`
        &quot;A String&quot;,
      ],
      &quot;subscribedMediaPlanners&quot;: [ # Output only. The list of media planners that are subscribed to the AuctionPackage. This field is only populated when calling as a bidder.
        { # Describes a single Media Planner account.
          &quot;accountId&quot;: &quot;A String&quot;, # Output only. Account ID of the media planner.
        },
      ],
      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time the auction package was last updated. This value is only increased when this auction package is updated but never when a buyer subscribed.
    },
  ],
  &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results. Pass this value in the ListAuctionPackagesRequest.pageToken field in the subsequent call to the `ListAuctionPackages` method to retrieve the next page of results.
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

</body></html>